package org.codeblue.support.api;

import java.util.List;

/**
 * Created by jl.hu on 2017/4/1.
 */
public class ApiDescription {
    private String name;
    private String method;
    private String uri;
    private String groupName;
    private String version;
    private String description;
    private String successExample;
    private String paramExample;

    private List<ApiColumn> params;
    private List<ApiColumn> results;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSuccessExample() {
        return successExample;
    }

    public void setSuccessExample(String successExample) {
        this.successExample = successExample;
    }

    public List<ApiColumn> getParams() {
        return params;
    }

    public void setParams(List<ApiColumn> params) {
        this.params = params;
    }

    public List<ApiColumn> getResults() {
        return results;
    }

    public void setResults(List<ApiColumn> results) {
        this.results = results;
    }


    public String getParamExample() {
        return paramExample;
    }

    public void setParamExample(String paramExample) {
        this.paramExample = paramExample;
    }

    public ApiDescription(String name, String method, String uri) {
        this.name = name;
        this.method = method;
        this.uri = uri;
    }
}
